$(function(){    
    $('#selfmkpost').click(function(){
        var n = prompt('输入name值!','');
        if(n){
            $('#post_d1').attr('disabled','disabled');
            $('#smkdance').append('<input type="text" name="'+n+'" placeholder="输入'+n+'的值" required="required"><br>');
        }        
    });
});